Auto merge of #2847 - munyari:build_targets, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 4 Aug 2016 06:40:40 +0000 (23:40 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Aug 2016 06:40:40 +0000 (23:40 -0700)
commitaf4ec3908ee262e8fea13a0a65a720f4622f8358
tree75cd24426a3242302b8d4092fa77563f213a6662
parentf4a23e7929fdc802a78671e9637a18ae1ecb566a
parentf1759e979781c37f3e3f8c5648cd22ffbf5f168b
Auto merge of #2847 - munyari:build_targets, r=alexcrichton

Warn about duplicated build targets

I basically wholesale copied `unique_names_in_targets` into a different `unique_build_targets` because of the different types. Is there any way I could have just used the existing functionality?
src/cargo/util/toml.rs
tests/build.rs